package com.gopay.common.domain.riskcontrol;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.*;
import java.util.Date;

/**
 * 风控-通知地址监控表
 * @author songfengli
 * Created by Lenovo-songfengli on 2018/4/8.
 */
@Entity
@Table(name = "RC_NOTIFY_URL_MONITOR")
public class RcNotifyUrlMonitor extends BaseEntity {

    /**主键*/
    @Id
    @SequenceGenerator(name = "RC_NOTIFY_URL_MONITOR_SEQ_GENERATOR", sequenceName = "RC_NOTIFY_URL_MONITOR_SEQ", allocationSize = 1)
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "RC_NOTIFY_URL_MONITOR_SEQ_GENERATOR")
    @Column(name = "ID")
    private Long id;

    /**客户cust_id*/
    @Column(name="CUST_ID")
    private String custId;

    /**后台通知地址*/
    @Column(name="MER_NOTIFY_URL")
    private String merNotifyUrl;

    /**防钓鱼地址*/
    @Column(name="ANTI_PHISH_URL")
    private String antiPhishUrl;

    /**比较结果 01-成功 02-失败*/
    @Column(name="COMPARE_RESULT")
    private String compareResult;

    /**交易日期*/
    @Column(name="TRAN_DATE")
    private String tranDate;

    /**比较日期*/
    @Column(name="COMPARE_DATE")
    private Date compareDate;

    @Version
    @Column(name = "VERSION")
    private Integer version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCustId() {
        return custId;
    }

    public void setCustId(String custId) {
        this.custId = custId;
    }

    public String getMerNotifyUrl() {
        return merNotifyUrl;
    }

    public void setMerNotifyUrl(String merNotifyUrl) {
        this.merNotifyUrl = merNotifyUrl;
    }

    public String getAntiPhishUrl() {
        return antiPhishUrl;
    }

    public void setAntiPhishUrl(String antiPhishUrl) {
        this.antiPhishUrl = antiPhishUrl;
    }

    public String getCompareResult() {
        return compareResult;
    }

    public void setCompareResult(String compareResult) {
        this.compareResult = compareResult;
    }

    public String getTranDate() {
        return tranDate;
    }

    public void setTranDate(String tranDate) {
        this.tranDate = tranDate;
    }

    public Date getCompareDate() {
        return compareDate;
    }

    public void setCompareDate(Date compareDate) {
        this.compareDate = compareDate;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }
}
